package com.xiaocg.visitor;


public class Dog implements Animal {
    @Override
    public void accept(Person p) {
        p.feed(this);
    }
}
